package com.yolo.common.annotation;

import com.yolo.common.enums.BusinessType;

import java.lang.annotation.*;

/**
 * ClassName: Log
 * Description:
 * date: 2021/4/22 11:49
 *
 * @author 霜蟾
 * @since JDK 1.8
 * 自定义操作日志记录注解
 */
@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {

    /**
     * 模块
     */
    String title() default "";

    /**
     * 功能
     */
    BusinessType businessType() default BusinessType.OTHER;


}
